package com.service;

import java.util.List;

import com.enetiy.Useraccount;

public interface UseraccountService {
	//根据账号查询账号信息
		public Useraccount selectUseraccount(String account) throws Exception ;
		//添加用户账号
		public void insetrUseraccount(Useraccount ua) throws Exception;
		//根据用户查用户账号
		public List<Useraccount> selectUseraccounts(int userid , int type) throws Exception;
		//修改用户
		public void updateUseraccount(Useraccount ua) throws Exception;
		//根据用户查用户账号
		public Useraccount selectUseraccount(int userid,int type) throws Exception;
		//根据openid
		public Useraccount selUseraccountOpenId(String openid) throws Exception;
}
